databaseChangeLog:

  - changeSet:
      id: 6
      author: goosly
      changes:
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: Каб. ПРМО Локомотивное депо
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: М/п Калуга-1
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: М/п Калуга-2
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: Каб. ПРМО Брянской механизированной дистанции инфраструктуры
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: Каб. ПРМО Тихоновой Пустыни
        - insert:
            tableName: departments
            columns:
              - column:
                  name: department_name
                  value: Каб. ПРМО Смоленского центра по обслуживанию пассажиров в пригородном сообщении на ст. Фаянсовая

  - changeSet:
      id: 8
      author: goosly
      changes:
        - insert:
            tableName: users
            columns:
              - column:
                  name: username
                  value: admin
              - column:
                  name: password
                  value: "{bcrypt}$2a$12$OrUM6S5TtRH/OuPQPaMqk.0c32M.MquI7pTJX2y.TUmsYrPsPyEmq"

  - changeSet:
      id: 9
      author: goosly
      changes:
        - insert:
            tableName: roles
            columns:
              - column:
                  name: role_name
                  value: ROLE_ADMIN
        - insert:
            tableName: roles
            columns:
              - column:
                  name: role_name
                  value: ROLE_USER

        - insert:
            tableName: users_roles
            columns:
              - column:
                  name: user_id
                  value: 1
              - column:
                  name: role_id
                  value: 1
  - changeSet:
      id: big-insert-into-departments-operations
      author: goosly
      changes:
        - sql:
            dbms: 'postgresql'
            sql: insert into departments_operations (department_id, operation_id)
              values (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15), (1, 16), (1, 17),
              (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (2, 7), (2, 8), (2, 9), (2, 10), (2, 11), (2, 12), (2, 13), (2, 14), (2, 15), (2, 16), (2, 17),
              (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12), (3, 13), (3, 14), (3, 15), (3, 16), (3, 17),
              (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17),
              (5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6), (5, 7), (5, 8), (5, 9), (5, 10), (5, 11), (5, 12), (5, 13), (5, 14), (5, 15), (5, 16), (5, 17),
              (6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17)
#

